package com.gyf.usercenter.injection.component

import com.gyf.base.injection.PreComponentScope
import com.gyf.base.injection.component.ActivityComponent
import com.gyf.usercenter.injection.module.UserModule
import com.gyf.usercenter.ui.activity.*
import dagger.Component

@PreComponentScope
@Component(dependencies = arrayOf(ActivityComponent::class), modules = arrayOf(UserModule::class))
interface UserComponent {
    fun inject(activity: RegisterActivity)
    fun inject(activity: LoginActivity)
    fun inject(activity: ForgetPwdActivity)
    fun inject(activity: ResetPwdActivity)
    fun inject(activity: UserInfoActivity)
}